<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <title>课程管理</title>
    <link rel="stylesheet" href="css/courses.css">
    <link rel="stylesheet" href="../public/hui/css/hui.css">
    <style>
        .add_section_box{
            padding: 10px;
        }
    </style>
</head>
<body>
<header class="hui-header">
    <div id="hui-back"></div>
    <h1>添加课程</h1>
    <div id="hui-header-menu"></div>
</header>
<div class="hui-wrap">
    <form class="hui-form" id="add_form">
        <div class="hui-form-items">
            <div class="hui-form-items-title">章节名</div>
            <input type="text" class="hui-input" placeholder="请输入章节名"name="section_name">
        </div>
        <div class="hui-form-items">
            <div class="hui-form-items-title" >章节序号</div>
            <input type="number" class="hui-input" placeholder="请输入章节序号"name="section_num">
        </div>
        <div class="hui-form-items">
            <div class="hui-form-items-title">小节名</div>
            <input type="text" class="hui-input" placeholder="请输入小节名" name="sub_name1">
        </div>
        <div class="hui-form-items" id="add_sub_box">
            <div class="hui-form-items-title"></div>
            <div class="sub">
                <button class="hui-button" id="add_sub">添加小节</button>
            </div>
        </div>
    </form>
    <div class="add_section_box">
        <button class="hui-button hui-primary hui-button-large" id="add_section">添加课程</button>
    </div>
</div>
</body>
<script src="../public/js/jquery-3.3.1.min.js"></script>
<script src="../public/hui/js/hui.js"></script>
<script src="js/menu.js"></script>
<script src="../public/hui/js/hui-form.js"></script>
<script src="js/add_course.js"></script>
</html>